package com.jumper.study.db.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jumper.study.db.dto.LessonSearchDto;
import com.jumper.study.db.dto.LessonDto;
import com.jumper.study.db.model.Lesson;


public interface LessonMapper extends BaseMapper<Lesson> {
    //分页查找课程,连分类表查分类名称，连章节和资料表查章节和资料数量
    IPage<LessonDto> selectPageWithCategory(IPage<LessonDto> page, LessonSearchDto search);
}
